/// my : [{"nickName":"用户6413","userId":1847163877428154369,"drawDate":"2024-10-18 15:56","prizeName":"1","goodsName":"新增组合商品测试价格bug","type":2,"typeValue":"1837403011257249794","received":0,"avatar":""},{"nickName":"用户6413","userId":1847163877428154369,"drawDate":"2024-10-18 14:56","prizeName":"1","goodsName":"新增组合商品测试价格bug","type":2,"typeValue":"1837403011257249794","received":0,"avatar":""}]
/// all : [{"nickName":"用户6413","userId":1847163877428154369,"drawDate":"2024-10-18 15:56","prizeName":"1","goodsName":"新增组合商品测试价格bug","type":2,"typeValue":"1837403011257249794","received":0,"avatar":""},{"nickName":"用户6413","userId":1847163877428154369,"drawDate":"2024-10-18 14:56","prizeName":"1","goodsName":"新增组合商品测试价格bug","type":2,"typeValue":"1837403011257249794","received":0,"avatar":""}]

class LotteryListBean {
  LotteryListBean({
      this.my, 
      this.all,});

  LotteryListBean.fromJson(dynamic json) {
    if (json['my'] != null) {
      my = [];
      json['my'].forEach((v) {
        my?.add(My.fromJson(v));
      });
    }
    if (json['all'] != null) {
      all = [];
      json['all'].forEach((v) {
        all?.add(All.fromJson(v));
      });
    }
  }
  List<My>? my;
  List<All>? all;

  Map<String, dynamic> toJson() {
    final map = <String, dynamic>{};
    if (my != null) {
      map['my'] = my?.map((v) => v.toJson()).toList();
    }
    if (all != null) {
      map['all'] = all?.map((v) => v.toJson()).toList();
    }
    return map;
  }

}

/// nickName : "用户6413"
/// userId : 1847163877428154369
/// drawDate : "2024-10-18 15:56"
/// prizeName : "1"
/// goodsName : "新增组合商品测试价格bug"
/// type : 2
/// typeValue : "1837403011257249794"
/// received : 0
/// avatar : ""

class All {
  All({
      this.nickName, 
      this.userId, 
      this.drawDate, 
      this.prizeName, 
      this.goodsName, 
      this.type, 
      this.typeValue, 
      this.received, 
      this.avatar,});

  All.fromJson(dynamic json) {
    nickName = json['nickName'];
    userId = json['userId'];
    drawDate = json['drawDate'];
    prizeName = json['prizeName'];
    goodsName = json['goodsName'];
    type = json['type'];
    typeValue = json['typeValue'];
    received = json['received'];
    avatar = json['avatar'];
  }
  String? nickName;
  int? userId;
  String? drawDate;
  String? prizeName;
  String? goodsName;
  int? type;
  String? typeValue;
  int? received;
  String? avatar;

  Map<String, dynamic> toJson() {
    final map = <String, dynamic>{};
    map['nickName'] = nickName;
    map['userId'] = userId;
    map['drawDate'] = drawDate;
    map['prizeName'] = prizeName;
    map['goodsName'] = goodsName;
    map['type'] = type;
    map['typeValue'] = typeValue;
    map['received'] = received;
    map['avatar'] = avatar;
    return map;
  }

}

/// nickName : "用户6413"
/// userId : 1847163877428154369
/// drawDate : "2024-10-18 15:56"
/// prizeName : "1"
/// goodsName : "新增组合商品测试价格bug"
/// type : 2
/// typeValue : "1837403011257249794"
/// received : 0
/// avatar : ""

class My {
  My({
      this.nickName, 
      this.userId, 
      this.drawDate, 
      this.prizeName, 
      this.goodsName, 
      this.type, 
      this.typeValue, 
      this.received, 
      this.avatar,});

  My.fromJson(dynamic json) {
    nickName = json['nickName'];
    userId = json['userId'];
    drawDate = json['drawDate'];
    prizeName = json['prizeName'];
    goodsName = json['goodsName'];
    type = json['type'];
    typeValue = json['typeValue'];
    received = json['received'];
    avatar = json['avatar'];
  }
  String? nickName;
  int? userId;
  String? drawDate;
  String? prizeName;
  String? goodsName;
  int? type;
  String? typeValue;
  int? received;
  String? avatar;

  Map<String, dynamic> toJson() {
    final map = <String, dynamic>{};
    map['nickName'] = nickName;
    map['userId'] = userId;
    map['drawDate'] = drawDate;
    map['prizeName'] = prizeName;
    map['goodsName'] = goodsName;
    map['type'] = type;
    map['typeValue'] = typeValue;
    map['received'] = received;
    map['avatar'] = avatar;
    return map;
  }

}